/* 轮播图type */
export interface Res {
    data: ResBanner
    status: number
}
export interface ResBanner {
    banners: BannerArray
    code: number
}
export type BannerArray = BannerData[]
export interface BannerData {
    imageUrl: string
    targetId: number
    targetType: number
    typeTitle: string
    bannerId: number
}

/* 推荐歌单type */
export interface PersonalizedRes {
    data: PersonalizedResData
    status: number
}
export interface PersonalizedResData {
    hasTaste: boolean,
    code: number,
    category: number,
    result: PersonalizedResult
}
export type PersonalizedResult = PersonalizedItem[]
export interface PersonalizedItem {
    id: number,
    type: number,
    name: string,
    copywriter: string,
    picUrl: string,
    canDislike: boolean,
    trackNumberUpdateTime: number,
    playCount: number,
    trackCount: number,
    highQuality: boolean,
    alg: string
}


/* 推荐MV的type */
export interface MvRes {
    data: MvResData1
    status: number
}
export interface MvResData1 {
    code: number
    data: MvResData2
}
export type MvResData2 = MvResDataItem[]
export interface MvResDataItem {
    id: number,
    cover: string,
    name: string,
    playCount: number,
    briefDesc: string,
    desc: string,
    artistName: string,
    artistId: number,
    duration: number,
    mark: number,
    subed: boolean,
    artists: [
        {
            id: number,
            name: string
        }
    ],
    alias: []
}

/* 最新音乐type */
export interface NewMusicRes {
    data: NewMusicData
    status: number
}
export interface NewMusicData {
    hasTaste: boolean,
    code: number,
    category: number,
    result: NewMusicResult
}
export type NewMusicResult = NewMusicItem[]
export interface NewMusicItem {
        id: number,
        type:number,
        name: string,
        picUrl: string,
        canDislike: boolean,  
        song: {
            name: string,
            id: number
            artists: [
                {
                    name: string,
                    id: number,
                    img1v1Url: string,
                }
            ],
        }
}